package com.itgaoshu.service.impl;

import com.itgaoshu.bean.ZhuYuanPharmacy;
import com.itgaoshu.bean.ZhuyuanRecord;
import com.itgaoshu.mapper.ZhuyuanQuyaoMapper;
import com.itgaoshu.service.ZhuyuanQuyaoService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

/**
 * \* @author: 李豪杰
 * \* Date: 2021/3/23
 * \* Time: 10:18
 * \* Description:
 * \
 */
@Transactional
@Service
public class ZhuYuanquYaoServiceImpl implements ZhuyuanQuyaoService {
    @Resource
    private ZhuyuanQuyaoMapper zhuyuanMapper;

    @Override
    public List<ZhuYuanPharmacy> selDrug(ZhuYuanPharmacy zpharmacy) {
        return zhuyuanMapper.selDrug(zpharmacy);
    }

    @Override
    public List<ZhuyuanRecord> selDrugs(ZhuyuanRecord zrecord) {
        return zhuyuanMapper.selDrugs(zrecord);
    }

    @Override
    public int addDrug(ZhuyuanRecord zrecord) {
        return zhuyuanMapper.addDrug(zrecord);
    }

    @Override
    public int updDrug(ZhuyuanRecord zrecord) {
        return zhuyuanMapper.updDrug(zrecord);
    }

    @Override
    public int delDrug(ZhuyuanRecord zrecord) {
        return zhuyuanMapper.delDrug(zrecord);
    }

    @Override
    public int updDrugs(ZhuyuanRecord zrecord) {
        return zhuyuanMapper.updDrugs(zrecord);
    }

    @Override
    public int updNum(ZhuyuanRecord zrecord) {
        return zhuyuanMapper.updNum(zrecord);
    }

    @Override
    public int upd(ZhuyuanRecord zrecord) {
        return zhuyuanMapper.upd(zrecord);
    }
}
